@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,400);

$blue: #5F98CD;
$blue-dark: #264057;
$blue-light: #B2DAFF;

html,
body{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frame{
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 2px;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.3);
    color: #666;
    background-color: $blue-dark;
    font-family: 'Open Sans', Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

.panel{
    position: absolute;
    z-index: 2;
    height: 300px;
    width: 300px;
    top:50px;
    left: 50px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 10px 10px 15px rgba(0,0,0,0.3);
    overflow: hidden;

    transform: translateX(0px);
    transition: all .5s ease-in-out;

    &.show-menu{
        transform: translateX(150px);
    }

    .header{
        height: 60px;
        width: 100%;
        background-color: $blue;

        .menu-icon{
            position: absolute;
            // border: 1px solid;
            height: 15px;
            width: 29px;
            top: 23px;
            left: 20px;
            cursor: pointer;

            .dash-top{
                position: absolute;
                top: 0;
                left: 0;
                width: 20px;
                height: 3px;
                background-color: $blue-light;
                border-radius: 3px;
                transition: all 0.3s ease-in-out;
            }

            .dash-bottom{
                @extend .dash-top;
                width: 29px;
                top: auto;
                bottom: 0;
            }

            .circle{
                position: absolute;
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background-color: $blue-light;
                top: -2px;
                right: 0;
                transition: all 0.3s ease-in-out;
            }

            &:hover{
                .dash-top,
                .dash-bottom,
                .circle{
                    background-color: #fff;
                }
            }
        }

        .title{
            display: block;
            text-align: center;
            font-size: 15px;
            font-weight: 600;
            color: #fff;
            line-height: 60px;
        }

        .search-input{
            position: absolute;
            box-sizing: border-box;
            top: 13px;
            right: 55px;
            width: 230px;
            height: 34px;
            border: none;
            border-radius: 17px;
            padding: 0 17px;
            font-size: 13px;
            color: #666;
            transform: translateX(15px);
            pointer-events: none;
            opacity: 0;
            transition: all 0.3s ease-in-out;

            &:focus{
                outline: none;
            }


            &.active{
                pointer-events: all;
                opacity: 1;
                transform: translateX(0px);
            }

        }

        .search-icon{
            position: absolute;
            z-index: 2;
            font-size: 21px;
            top:20px;
            right: 18px;
            color: $blue-light;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            &:hover{
                color: #fff;
            }
        }
    }

    .notifications{
        position: relative;
        height: 100%;

        .line{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 27px;
            width: 3px;
            background-color: #ebebeb;
        }

        .notification{
            position: relative;
            z-index: 2;
            margin:25px 20px 25px 43px;

            .circle {
                position: absolute;
                box-sizing: border-box;
                width: 11px;
                height: 11px;
                border: 2px solid $blue;
                border-radius: 50%;
                left: -20px;
                top: 0;
            }

            .time{
                display: block;
                font-size: 11px;
                line-height: 11px;
                margin-bottom: 2px;
            }

            p{
                font-size: 15px;
                line-height: 20px;
                margin: 0;
                b{
                    font-weight: 600;
                }
            }

            cursor: pointer;

            &:hover{
                color: $blue;
            }
        }
    }
    // opacity: 0;
}

.menu{
    // z-index: 3;

    position: absolute;
    top: 65px;
    left: 50px;
    width: 170px;
    height: 270px;
    background-color: #43627D;
    border-radius: 3px;
    opacity: 0;
    transition: all .5s ease-in-out;

    transform: translateX(50px);

    &.active{
        box-shadow: 5px 5px 8px rgba(0,0,0,0.2);
        opacity: 1;
        transform: translateX(0px);
    }

    ul{
        margin: 0;
        padding: 10px 0;
    }

    li{
        color: #93B2CD;
        padding: 18px 17px;
        list-style: none;
        font-size: 14px;
        line-height: 14px;
        cursor: pointer;

        &:hover{
            color: #fff;
            background-color: #385269;
        }

        transition: all .3s ease-out;

        // span{
        //     display: block;
        //     float: left;
        //     margin-right: 8px;
        //     margin-top: -1px;
        // }

		// .fa-gear, .fa-user, .fa-bell {
		// 	margin-top: 0;
		// }
    }
}